package com.lz.gmall.web;


import com.lz.gamll.feign.anno.EnableFeignRequestInterceptor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableFeignClients(basePackages = {
        "com.lz.gamll.feign.product",
        "com.lz.gamll.feign.item",
        "com.lz.gamll.feign.search",
        "com.lz.gamll.feign.cart",
        "com.lz.gamll.feign.order"})
@EnableFeignRequestInterceptor
public class WebApplication {
    public static void main(String[] args) {
        SpringApplication.run(WebApplication.class,args);
    }
}
